\documentclass[handout,10pt]{beamer}

% Do not change anything from here =================================
\usepackage{pgfpages}
\usetheme{Madrid}
\usecolortheme{crane}
\beamersetuncovermixins{\opaqueness<1>{25}}{\opaqueness<2->{15}}
%\pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm] % could also use letterpaper
%\setbeamertemplate{note page}[plain] % Beamer manual, section 19.1
%\setbeameroption{show notes on second screen=bottom} % Beamer manual, section 19.3

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern} % load a font with all the characters
\usepackage{cancel} % Cancelling in mathematical formulas
\usepackage{epsfig}
\usepackage{epstopdf}
\usepackage{amsthm}
\usepackage{array}
\usepackage{enumerate}
\usepackage{multirow}

\usepackage{hyperref}
\definecolor{links}{HTML}{2A1B81}
\hypersetup{colorlinks,linkcolor=,urlcolor=links}

\newtheorem{ceudef}{Definition}[subsection]
\newtheorem{ceuthm}{Theorem}[subsection]
\newtheorem{ceucor}{Corollary}[subsection]
\newtheorem{ceuax}{Axiom}[subsection]
\newtheorem{ceuprop}{Properties}[subsection]
\setbeamertemplate{theorems}[numbered]

\makeatletter
\newcommand{\setnextsection}[1]{%
  \setcounter{section}{\numexpr#1-1\relax}%
  \beamer@tocsectionnumber=\numexpr#1-1\relax\space}
\makeatother

\begin{document}

%\def\today{\number\day~de\space\ifcase\month\or
%  enero\or febrero\or marzo\or abril\or mayo\or junio\or
%  julio\or agosto\or septiembre\or octubre\or noviembre\or diciembre\fi
%  \space de~\number\year} 

\newcommand{\COSS}{
	\begin{frame}
		\author{C.O.S. Sorzano}
		\institute{Biomedical Engineering}
		\titlegraphic{\includegraphics[scale=0.2]{../logoUSP.jpg}}

		\date{\today} 
		\titlepage
	\end{frame} 

	\begin{frame}
		\frametitle{Outline}
		\tableofcontents
	\end{frame} 
}

\newcommand{\Outline}{
	\begin{frame}
		\frametitle{Outline}
		\tableofcontents[currentsubsection]
	\end{frame}
}

\newcommand{\OutlineFinal}{
	\begin{frame}
		\frametitle{Outline}
		\tableofcontents
	\end{frame}
}

\newcommand{\degree}{\ensuremath{^\circ}}

\newenvironment<>{exerciseblock}[1]{%
  \begin{actionenv}#2%
      \def\insertblocktitle{#1}%
      \par%
      \mode<presentation>{%
        \setbeamercolor{block title}{fg=white,bg=orange!20!black}
       \setbeamercolor{block body}{fg=black,bg=olive!50}
       \setbeamercolor{itemize item}{fg=orange!20!black}
     }%
      \usebeamertemplate{block begin}}
    {\par\usebeamertemplate{block end}\end{actionenv}}